'use strict';

const Controller = require('../../core/common');

class GoodsIntegralsController extends Controller {

  async index() {

    const { ctx } = this;

    const data = await ctx.service.v1.goodsIntegrals.findAll();

    this.success(data);
  }
}

module.exports = GoodsIntegralsController;